package com.vitae.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.criteria.CriteriaBuilder;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Administrator on 2018/5/16.
 */
@Data
@NoArgsConstructor
@TableName("resume")
public class Resume{
    private Integer id;
    /*'用户表id'*/
    private Integer userId;
    /*'求职意向表id'*/
    private Integer jobIntentionId;
    /*'技能表id'*/
    private Integer skillId;
    /*'工作经历表id'*/
    private Integer workLiveId;
    /*'头像图片id'*/
    private Integer headPic;
    /*'年龄'*/
    private Integer age;
    /*性别 默认为男 0：男 1：女*/
    private CriteriaBuilder.In sex;
    /*'是否已婚 默认未婚 0：未婚 1：已婚'*/
    private Integer isMarriage;
    /*'籍贯'*/
    private String nativePlace;
    /*'现居住地'*/
    private String nowLive;
    /*'联系电话'*/
    private String phoneNum;
    /*'电子邮箱'*/
    private String email;
    /*'出生年月'*/
    private Date birthDate;
    /*'工作经验'*/
    private BigDecimal workHours;
    /*'海外工作经验 默认没有 0：没有 1：有'*/
    private Integer overseasLive;
    /*创建时间 NOT NULL*/
    private Date createDate;
    /*更新时间 DEFAULT NULL*/
    private Date updateDate;

    @Override
    public String toString() {
        return "Resume{" +
                "id=" + id +
                ", userId=" + userId +
                ", jobIntentionId=" + jobIntentionId +
                ", skillId=" + skillId +
                ", workLiveId=" + workLiveId +
                ", headPic=" + headPic +
                ", age=" + age +
                ", sex=" + sex +
                ", isMarriage=" + isMarriage +
                ", nativePlace='" + nativePlace + '\'' +
                ", nowLive='" + nowLive + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", email='" + email + '\'' +
                ", birthDate=" + birthDate +
                ", workHours=" + workHours +
                ", overseasLive=" + overseasLive +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                '}';
    }

}
